<template>
  <div class="xtx-bread-item">
    <router-link v-if="to" :to="to">
      <slot></slot>
    </router-link>
    <span v-else>
      <slot></slot>
    </span>
  </div>
  <!-- <i class="iconfont icon-angle-right"></i> -->
</template>


<script>
export default {
  name: 'BrandItem'
}
</script>
<script setup>
defineProps({
  to: {
    type: [String, Object],
    default: ''
  }
})


</script>

<style lang="less" scoped>
</style>
